package redis

// redis key

const (
	KeyPf             = "bluebell:"
	KeyPostTime       = "post:time"   //	zset; 帖子以发帖时间为分数
	KeyPostScore      = "post:score"  //	zset; 帖子及投票的分数
	KeyPostVotedPf    = "post:voted:" //    zset; 记录用户及投票类型; 参数是post_id
	KeyCommunitySetPf = "community:"  //     set; 保存每个分区下帖子的id
)

func getRedisKey(key string) string {
	return KeyPf + key
}
